import { setupRouter } from '@/router/index.js';
import { setupStore } from '@/store/index.js';
import { setupAssets } from './assets.js';
import Icon from '@/components/icon/index.vue';

export default async function installPlugin(app) {
  setupAssets(app);
  setupStore(app);
  app.component('Icon', Icon);
  await setupRouter(app);
}
